<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>编辑角色</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/Public/layuicms/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/Public/layuicms/css/public.css" media="all" />
	<style>
		.border-box {border: 1px solid #eee;padding: 10px 10px 10px 0}
		.disabled {background: #eee}
	</style>
</head>
<body class="childrenBody">
<form class="layui-form layui-row layui-col-space10" id="form">
	<div class="layui-col-md6 layui-col-xs12 border-box">
	
		<div class="layui-form-item magt3">
			<label class="layui-form-label">角色名称</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" lay-verify="required" maxlength="10" name="rname"
					placeholder="请输入角色名称" value="<?php echo ($role["rname"]); ?>">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-block">
				<textarea  class="layui-textarea" lay-verify="required" maxlength="80" name="remake" 
				placeholder="请输入描述备注"><?php echo ($role["remake"]); ?></textarea>
			</div>
		</div>
		<hr class="layui-bg-gray" />
		<div class="layui-right">
			<input type="hidden" name="rid" value="<?php echo ($role["rid"]); ?>">
			<a class="layui-btn layui-btn-sm" lay-filter="upd-btn" lay-submit><i class="layui-icon">&#xe609;</i>提交</a>
		</div>
	</div>
</form>
<script type="text/javascript">
	var baseUrl = "";
	var updUrl = "<?php echo U('upd');?>";
</script>
<script type="text/javascript" src="/Public/layuicms/layui/layui.js"></script>
<script type="text/javascript" src="/Public/admin/js/lib/public.js"></script>
<script type="text/javascript" src="/Public/admin/js/role_form.js"></script>
</body>
</html>